import Lifepay from './Root'
import LifeHome from './Home'
import Detail from './Detail'
import TakeDetail from './component/TakeDetail'
//话费充值页面
import Phone from './view/phoneRecharge'
//水电燃气页面
import Wef from './view/Wef'
//新闻页面
import News from './view/News'
//新闻详情
import NewDetail from './component/NewDetail'
//意见反馈
import Feedback from './component/Feedback'
import FeedbackHistory from './component/FeedbackHistory'
export default {

    path: '/Lifepay',
    element: <Lifepay />,
    children: [
        {
            path: '',
            element: <LifeHome />,
        },
        {
            path: 'detail/:id',
            element: <Detail />,
        },
        {
            path: 'phone',
            element: <Phone />,
        },
        {
            path: 'take/:info',
            element: <TakeDetail />,
        },
        {
            path:'wef',
            element: <Wef />,
        },
        {
            path:'news',
            element: <News />,
        },
        {
            path:"newDetail/:id",
            element: <NewDetail />,  
        },
        {
            path:'feedback',
            element: <Feedback />,  
        },
        {
            path:'feedbackHistory',
            element: <FeedbackHistory />,  
        }
    ]
}